From: Ivan Molodetskikh Date: Sun, 20 Feb 2022 05:54:11 +0000 (+0300) Subject: screenshot: Update method name in screenshot bind X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~516^2^2~63 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=89fd575b99dc31d0a54ca01798e8a9be87034dbc;p=gnome-shell.git screenshot: Update method name in screenshot bind I missed it during refactoring. Makes this bind work again. Part-of: --- diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js index adc1f8cb3..d40c5b244 100644 --- a/js/ui/screenshot.js +++ b/js/ui/screenshot.js @@ -1332,7 +1332,7 @@ var ScreenshotUI = GObject.registerClass({ async () => { try { const shooter = new Shell.Screenshot(); - const [content] = await shooter.to_content(); + const [content] = await shooter.screenshot_stage_to_content(); const texture = content.get_texture(); await captureScreenshot(texture, null, 1, null);